<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.css">
  <style>
    .container {
      background: hotpink;
      height: 300px;
      /* width: 500px;  */
    }

    /* .container-fluid {
      background: hotpink;
      height: 300px;
      width: 500px;
    } */
  </style>
</head>

<body>
  <div class="container">
    <!-- row代表一行，col代表一列，一行分为12份,利用类名来控制每一列占的比例 -->
    <!-- 所有“列（column）必须放在 ” .row 内。 -->
    <!-- <div class="row"> -->
    <!-- 在中等屏幕下每一列占6份，在小屏幕下每一列占12份就是占一行 -->
    <!-- <div class="col-md-6 col-sm-12" style="background:red">.col-md-1</div>
      <div class="col-md-6 col-sm-12" style="background:green">
          <div class="row">
            <div class="col-md-4" style="background:yellow">1</div>
            <div class="col-md-4" style="background:black">2</div>
            <div class="col-md-4" style="background:orange">3</div>
          </div>
      </div> -->
    <!-- </div> -->



    <!-- col-md-offset-4实现偏移 原理就是给当前列增加margin-left-->
    <!-- <div class="row">
      <div class="col-md-4 col-md-offset-2 " style="background:yellow">1</div>
      <div class="col-md-4 " style="background:orange">2</div>
    </div> -->


    <!-- 通过使用 .col-md-push-* 和 .col-md-pull-* 类就可以很容易的改变列（column）的顺序。
      push是往右推，pull是往左推
    -->
    <!-- <div class="row">
      <div class="col-md-4 col-md-push-4" style="background:yellow">1</div>
      <div class="col-md-4 col-md-pull-4" style="background:orange">2</div>
    </div> -->


    <!--排版  -->
    <div class="row">
      <div class="col-md-12 h1" style="background:yellow">
        rtyuiofghjklfgh<span class="small">ertyu</span>
        <p class="text-lowercase">Lowercased text.</p>
        <p class="text-uppercase">Uppercased text.</p>
        <p class="text-capitalize">Capitalized text.</p>
        <span class="glyphicon glyphicon-heart"></span>
        <button type="button" class="btn btn-default btn-xs">
          <span class="glyphicon glyphicon-star" aria-hidden="true"></span> Star
        </button>

        <div class="progress">
          <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="60" aria-valuemin="0"
            aria-valuemax="100" style="width: 0%; min-width: 2em;">
            0%
          </div>
        </div>
        <div class="progress">
          <div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="40"
            aria-valuemin="0" aria-valuemax="100" style="width: 40%">
            <span class="sr-only">40% Complete (success)</span>
          </div>
        </div>
      </div>

    </div>

  </div>




  <!-- <div class="container-fluid">
    ...
  </div> -->
</body>

</html>